package com.xuxin.nantai.base;

import android.text.Editable;
import android.text.TextWatcher;

/**
 * Created by xu_xin
 * Created on 2020.06.09 0009
 */
public abstract class BaseTextWatcher implements TextWatcher {
    @Override
    public void beforeTextChanged(CharSequence s, int start, int count, int after) {

    }

    @Override
    public void onTextChanged(CharSequence message, int start, int before, int count) {
        onTextChanged(message.toString());
    }

    @Override
    public void afterTextChanged(Editable s) {

    }

    public abstract void onTextChanged(String message);
}